﻿using HuaweiCloud.Dotnet.Samples.Common;

namespace HuaweiCloud.Dotnet.Samples.ESports.Entities
{
    /// <summary>
    /// 设备发送的步数记录
    /// </summary>
    public class Step : BaseEntity, IAggregateRoot
    {
        public string DeviceId { get;set; }
        public DateTime Time { get; set; }
        public int Count { get; set; }
        public Step()
        {

        }
        public Step(string deviceId, DateTime time, int count)
        {
            DeviceId = deviceId;
            Time = time;
            Count = count;
        }
    }
}
